<?php
	get_header();
?>
<div id="main">
	<div class="inner">
		<?php if($archive_description = wp_strip_all_tags(get_the_archive_description())) : ?>
			<div class="card bg-light archive-header">
				<h1 class="card-header"><?php the_archive_title(); ?></h1>
				<div class="card-body">
					<p class="card-text"><?php echo $archive_description; ?></p>
				</div>
			</div>
		<?php endif; ?>

		<div class="loop">
			<?php get_template_part('loop', ''); ?>
		</div>
	</div>
</div>
	
<div id="secondary">
	<?php get_sidebar(); ?>
</div>
<?php
	get_footer();
?>